package com.atguigu.amqp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Book01 {
    private String bookName;
    private String author;
    // LocalDateTime如何序列化??
    private LocalDateTime time;

    public Book01(String bookName, String author) {
        this.bookName = bookName;
        this.author = author;
    }


}
